const jsdom = require("jsdom");
const {JSDOM} = jsdom;
const dom = new JSDOM(`<!DOCTYPE html><p>Hello world</p>`);
window = dom.window;
document = window.document;
XMLHttpRequest = window.XMLHttpRequest;
navigator = {};

const fs = require("fs")
const esprima = require("esprima")
const estraverse = require("estraverse")
const escodegen = require("escodegen")
const iconv = require("iconv-lite")
const base_ast = require("../../tools/es_ast_tool")
const {convertNodesIntoNode} = require("jsdom/lib/jsdom/living/node");
const reese84_common_ast = require("../common/common_ast");

var en_jscode = base_ast.get_file("./en1.js");
var ast = base_ast.get_ast_by_file("src.js");
reese84_common_ast.substr_de(en_jscode, ast, "./1.js", ["yN", "OK","Eu","qW"]);

